package com.mlk.rbac.mapper;

import java.util.List;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.mlk.rbac.dto.SysDictDTO;
import com.mlk.rbac.po.SysDict;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 系统字典mapper
 * @author trekxu
 * @since 2018-11-08
 */
@Mapper
public interface SysDictMapper extends BaseMapper<SysDict> {
	
	/**
	 * 字典列表
	 * @return
	 */
	List<SysDictDTO> dictList(@Param("dictTypeId") String dictTypeId);

	/**
	 * 查询所有的字典项
	 * @return
	 */
	List<SysDictDTO> queryAllDictItem(@Param("typeDesc") String typeDesc);
}
